from django.shortcuts import render
from django.http import HttpResponse, JsonResponse
from django.views.decorators.csrf import csrf_exempt
from django.contrib.auth.decorators import login_required
from django.core import signing
from django.contrib.auth import authenticate, login
import datetime
import time
import json
from django.db.models import Q
from airconfig.config import config
from .models import admin, master, Monitor
# Create your views here.

powerFlag = False
masterFlag = False
room_list = []


